#define _CRT_SECURE_NO_WARNINGS  1

#include"Heap.h"

int main()
{
	HP hp;
	HeapInit(&hp);
	HeapPush(&hp,3);
	HeapPush(&hp, 31);
	HeapPush(&hp, 34);
	HeapPush(&hp, 33);
	HeapPush(&hp, 19);
	HeapPush(&hp, 113);
	HeapPush(&hp, 63);

	while (!HeapEmpty(&hp))
	{
		printf("%d ", HeapTop(&hp));
		HeapPop(&hp);
	}
	printf("\n");

	return 0;
}